/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Common;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author PhiNguyen
 */
public interface Interface extends Remote{
    public Result getResult(String accNumber,String accPincode) throws  RemoteException;
    public Result getBalance(String accNumber,String accPincode) throws  RemoteException;
    public Result getChangePin(String accNumber ,String accPincodeOld,String accPincode,String accPincodeConfirm) throws  RemoteException;
    public Result getWithDraw(String accNumber,int accMoney) throws  RemoteException;
    public Result getDeposit(String accNumber,int accMoney) throws  RemoteException;
}
